<template>
  <div class="cm-setting-form">
    <el-form :model="settingForm"
             label-position="right"
             :inline="true"
             label-width="120px"
           >
      <div style="width: 100%" class="flex-row-center">
        <el-button type="primary" @click="submit">
          确定
        </el-button>
        <el-button @click="cancel">取消</el-button>
      </div>
    </el-form>
  </div>
</template>

<script lang="ts" setup>
  import {defineEmits} from "vue";

  let emit=defineEmits(["submit","cancel"])



  function submit(){
    emit("submit")
  }
  function cancel(){
    emit("cancel")
  }

</script>

<style scoped lang="less">
  .cm-setting-form{

  }
</style>